﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CCSupplementary
/// </summary>
/// 
namespace CE.CreditCard
{
    public class CCSupplementary
    {
        private Int64 _ccsuppid;
        private Int64 _ccpersonnelid;
        private Int64 _ccarid;
        private string _ccsuppsalutation;
        private string _ccsuppfirstname;
        private string _ccsuppsurname;
        private string _ccsuppnameofappear;
        private string _ccsupprelation;
        private DateTime _ccsuppdob;
        private char _ccsuppgender;
        private string _ccsuppnationality;
        private string _ccsuppidtype;
        private string _ccsuppidno;
        private string _ccsuppemail;
        private string _ccsuppmobileno;
        private string _ccsupphomephone;
        private string _ccsuppofficephone;
        private string _ccsuppunitno;
        private string _ccsupphomeno;
        private string _ccsuppstreetname;
        private string _ccsuppcountry;
        private string _ccsupppostalcode;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        //Common field
        private bool _ccstatus;
        private DateTime _cccreateddate;
        private DateTime _ccmodifieddate;
        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;

        public CCSupplementary()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        
        public Int64 CCSuppId
        {
            get { return _ccsuppid; }
            set { _ccsuppid = value; }
        }

        public Int64 CCPersonnelId
        {
            get { return _ccpersonnelid; }
            set { _ccpersonnelid = value; }
        }

        public Int64 CCARId
        {
            get { return _ccarid; }
            set { _ccarid = value; }
        }

        public string CCSuppSalutation
        {
            get { return _ccsuppsalutation; }
            set { _ccsuppsalutation = value; }
        }

        public string CCSuppFirstName
        {
            get { return _ccsuppfirstname; }
            set { _ccsuppfirstname = value; }
        }

        public string CCSuppSurName
        {
            get { return _ccsuppsurname; }
            set { _ccsuppsurname = value; }
        }

        public string CCSuppNameOfAppear
        {
            get { return _ccsuppnameofappear; }
            set { _ccsuppnameofappear = value; }
        }

        public string CCSuppRelation
        {
            get { return _ccsupprelation; }
            set { _ccsupprelation = value; }
        }

        public DateTime CCSuppDOB
        {
            get { return _ccsuppdob; }
            set { _ccsuppdob = value; }
        }

        public char CCSuppGender
        {
            get { return _ccsuppgender; }
            set { _ccsuppgender = value; }
        }

        public string CCSuppNationality
        {
            get { return _ccsuppnationality; }
            set { _ccsuppnationality = value; }
        }

        public string CCSuppIdType
        {
            get { return _ccsuppidtype; }
            set { _ccsuppidtype = value; }
        }

        public string CCSuppIdNo
        {
            get { return _ccsuppidno; }
            set { _ccsuppidno = value; }
        }

        public string CCSuppEmail
        {
            get { return _ccsuppemail; }
            set { _ccsuppemail = value; }
        }

        public string CCSuppMobileNo
        {
            get { return _ccsuppmobileno; }
            set { _ccsuppmobileno = value; }
        }

        public string CCSuppHomePhone
        {
            get { return _ccsupphomephone; }
            set { _ccsupphomephone = value; }
        }

        public string CCSuppOfficePhone
        {
            get { return _ccsuppofficephone; }
            set { _ccsuppofficephone = value; }
        }

        public string CCSuppUnitNo
        {
            get { return _ccsuppunitno; }
            set { _ccsuppunitno = value; }
        }

        public string CCSuppHomeNo
        {
            get { return _ccsupphomeno; }
            set { _ccsupphomeno = value; }
        }

        public string CCSuppStreetName
        {
            get { return _ccsuppstreetname; }
            set { _ccsuppstreetname = value; }
        }

        public string CCSuppCountry
        {
            get { return _ccsuppcountry; }
            set { _ccsuppcountry = value; }
        }

        public string CCSuppPostalCode
        {
            get { return _ccsupppostalcode; }
            set { _ccsupppostalcode = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool CCStatus
        {
            get { return _ccstatus; }
            set { _ccstatus = value; }
        }

        public DateTime CCCreatedDate
        {
            get { return _cccreateddate; }
            set { _cccreateddate = value; }
        }

        public DateTime CCModifiedDate
        {
            get { return _ccmodifieddate; }
            set { _ccmodifieddate = value; }
        }

        public string CCInfo1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string CCInfo2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string CCInfo3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string CCInfo4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string CCInfo5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public void ClearFields()
        {
            _ccsuppid = 0;
            _ccpersonnelid = 0;
            _ccarid = 0;
            _ccsuppsalutation = "";
            _ccsuppfirstname = "";
            _ccsuppsurname = "";
            _ccsuppnameofappear = "";
            _ccsupprelation = "";
            _ccsuppdob = new DateTime();
            _ccsuppdob = CE.Global.General.GetUTCDateTime();
            _ccsuppgender = 'N';
            _ccsuppnationality = "";
            _ccsuppidtype = "";
            _ccsuppidno = "";
            _ccsuppemail = "";
            _ccsuppmobileno = "";
            _ccsupphomephone = "";
            _ccsuppofficephone = "";
            _ccsuppunitno = "";
            _ccsupphomeno = "";
            _ccsuppstreetname = "";
            _ccsuppcountry = "";
            _ccsupppostalcode = "";
            _refceuserid = 0;
            _vieweddetailid = 0;
            //Common field
            _ccstatus = false;
            _cccreateddate = new DateTime();
            _ccmodifieddate = new DateTime();
            _cccreateddate = CE.Global.General.GetUTCDateTime();
            _ccmodifieddate = CE.Global.General.GetUTCDateTime();
            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
        }

    }
}